package com.entity;

public class Drug {
    int id;

    public Drug() {
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    String drugName;
    int number;
    String account;
    String workId;

    public int getDiagnoseId() {
        return diagnoseId;
    }

    public void setDiagnoseId(int diagnoseId) {
        this.diagnoseId = diagnoseId;
    }

    int diagnoseId; //绑定诊断单

    public Drug(int id, String drugName, int number, String account, String workId, int diagnoseId) {
        this.id = id;
        this.drugName = drugName;
        this.number = number;
        this.account = account;
        this.workId = workId;
        this.diagnoseId = diagnoseId;
    }

    public Drug(String drugName, int number, String account, String workId) {
        this.drugName = drugName;
        this.number = number;
        this.account = account;
        this.workId = workId;
    }


    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }
}
